// Code generated by mockery v2.43.1. DO NOT EDIT.

package sideeffect

import (
	context "context"
	mock "github.com/stretchr/testify/mock"
)

// MockSideEffector is an autogenerated mock type for the Executor type
type MockSideEffector struct {
	mock.Mock
}

// ApplySideEffect provides a mock function with given fields: ctx, info
func (_m *MockSideEffector) ApplySideEffect(ctx context.Context, info *SE) error {
	ret := _m.Called(ctx, info)

	if len(ret) == 0 {
		panic("no return value specified for ApplySideEffect")
	}

	var r0 error
	if rf, ok := ret.Get(0).(func(context.Context, *SE) error); ok {
		r0 = rf(ctx, info)
	} else {
		r0 = ret.Error(0)
	}

	return r0
}

// NewMockSideEffector creates a new instance of MockSideEffector. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
// The first argument is typically a *testing.T value.
func NewMockSideEffector(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockSideEffector {
	mock := &MockSideEffector{}
	mock.Mock.Test(t)

	t.Cleanup(func() { mock.AssertExpectations(t) })

	return mock
}
